package com.ruoyi.develop.lnGongyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺对象 ln__gongyi
 *
 * @author qh
 * @date 2024-07-21
 */
public class LnGongyi extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 工艺名称 */
    @Excel(name = "工艺名称")
    private String name;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 工艺说明 */
    @Excel(name = "工艺说明")
    private String shuoming;

    /** 工艺文件 */
    @Excel(name = "工艺文件")
    private String file;

    /** 工艺图纸 */
    @Excel(name = "工艺图纸")
    private String photo;

    /** 工艺状态（0正常 1停用） */
    @Excel(name = "工艺状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 工艺编码 */
    @Excel(name = "工艺编码")
    private String code;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setShuoming(String shuoming)
            {
            this.shuoming = shuoming;
            }

    public String getShuoming()
            {
            return shuoming;
            }
    public void setFile(String file)
            {
            this.file = file;
            }

    public String getFile()
            {
            return file;
            }
    public void setPhoto(String photo)
            {
            this.photo = photo;
            }

    public String getPhoto()
            {
            return photo;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("shuoming",getShuoming())
            .append("file",getFile())
            .append("photo",getPhoto())
            .append("status",getStatus())
            .append("code",getCode())
        .toString();
    }
}
